package org.microservice.config;

import feign.Contract;
import feign.Feign;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

@Configuration
public class FeignConfiguration {
    
//    @Bean
//    public Contract feignContract(){
//        return new Contract.Default();
//    }
    
    @Bean
    public Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }

//    @Bean
//    @Scope("prototype")
//    public Feign.Builder feignBuider(){
//        return Feign.builder();
//    }
    
}
